﻿/* 
 * author: www.cnblogs.com/luminji
 * date  : 2012/05/05
 */
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Luminji.Core.Enterprise.RBAC
{
    public interface IUser
    {
        string CurrentUserName { get; set; }

        /// <summary>
        /// one can have multi-roles
        /// such as one can be teacher and student at the same time
        /// </summary>
        List<Role> CurrentUserRoles { get; set; }

    }
}
